package cn.luyifushi.sys.dao;

import cn.luyifushi.sys.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author sword-l
 * @version 1.0.0
 * @title PermissionMapper
 * @description
 **/
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据用户ID查询权限列表
     * @param userId
     * @return
     */
    List<Permission> findPermissionListByUserId(Long userId);
}